main:threadpool.o main.cpp
	g++ -std=c++17 threadpool.o main.cpp -o main -lpthread

threadpool.o: threadpool.hpp threadpool.cpp
	g++ -std=c++17 -c threadpool.cpp

clean:
	rm *.o
	rm main
	rm *.gch